package com.zhuss.job.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.vo.job.job.DetailJobAppendVo;
import com.zhuss.job.db.dao.gen.JobAppendMapper;
import com.zhuss.job.db.entity.JobAppend;

@Mapper
public interface JobAppendDao extends JobAppendMapper {
	
	void create(JobAppend record);
	
	void delete(JobAppend record);
	
	DetailJobAppendVo getByType(@Param("type") Integer type, @Param("jobId") Long jobId, @Param("creatorId") Long creatorId);
	
	List<DetailJobAppendVo> listByType(@Param("type") Integer type, @Param("jobId") Long jobId, @Param("creatorId") Long creatorId);
	
	List<JobAppend> listAll(@Param("area") Integer area);
	
	DetailJobAppendVo detail(@Param("jobAppendId") Long jobAppendId);
}